/*
  ==============================================================================

    DataProject.cpp
    Created: 10 Jan 2015 10:51:42pm

  ==============================================================================
*/

#include "DataProject.h"


DataProject::DataProject() {
	m_nId = 0;
	m_cPriority = ' ';
	m_sHeadline = "";
	m_nDeadlineDateInSeconds = 0;
	m_nTimeLeftInSeconds = 0;
}

int DataProject::GetId(){
	return(m_nId);
}

String DataProject::GetHeadline() {
	return(m_sHeadline);
}

char DataProject::GetPriority() {
	return(m_cPriority);
}

uint64 DataProject::GetDeadline() {
	return(m_nDeadlineDateInSeconds);
}
uint64 DataProject::GetTimeLeftInSeconds() {
	return(m_nTimeLeftInSeconds);
}


int DataProject::SetId(int nId) {
	m_nId = nId;
	return(0);
}
int DataProject::SetHeadline(String sHeadline) {
	m_sHeadline = sHeadline;
	return(0);
}
int DataProject::SetPriority(char cPriority) {
	m_cPriority = cPriority;
	return(0);
}

int DataProject::SetDeadline(uint64 nTimeInSeconds) {
	m_nDeadlineDateInSeconds = nTimeInSeconds;
	return(0);
}
int DataProject::SetTimeLeftInSeconds(uint64 nTimeLeft) {
	m_nTimeLeftInSeconds = nTimeLeft;
	return(0);
}